package scaladuct

/**
 * <p>
 * Created by IntelliJ IDEA.
 * User: zslajchrt
 * Date: Oct 23, 2010
 * Time: 6:08:02 PM
 */

class NoCookiePage[X](value: => X, pageId: String) extends ConfigPage[X] {
  val id = pageId
  type Cookie = Terminal

  def getCookie() = Terminal

  def consume(cookie: Cookie) = NewStarter(new BasicStarter[X](value))
}
